package com.group5.onlinegame.entity;

import java.sql.Timestamp;

public class Recharge {
    private Integer id;
    private String name;
    private Integer rmb;
    private Integer golds;
    private Timestamp time;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getRmb() {
        return rmb;
    }

    public void setRmb(Integer rmb) {
        this.rmb = rmb;
    }

    public Integer getGolds() {
        return golds;
    }

    public void setGolds(Integer golds) {
        this.golds = golds;
    }

    public Timestamp getTime() {
        return time;
    }

    public void setTime(Timestamp time) {
        this.time = time;
    }

    public Recharge() {
    }

    public Recharge(Integer id, String name, Integer rmb, Integer golds, Timestamp time) {
        this.id = id;
        this.name = name;
        this.rmb = rmb;
        this.golds = golds;
        this.time = time;
    }
}
